/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

/**
 *
 * @author alumne1daw
 */
import java.util.Scanner;
public class numeritos {
     public static void main(String[] args) {
        // TODO code application logic BAAM here

 		Scanner lector= new Scanner(System.in);
 	    System.out.println("Escriu tres frases, contare les vocals");
 	    
 	    	String [] array = new String[3];
 	    	
 	    	for(int i=0;i<array.length;i++){
 	    		array[i] = lector.nextLine();
 	    	}
 	        
 	        int contador = 0;
 	        
 	        for(int j =0;j<array.length;j++){
 	        for(int i=0;i<array[j].length();i++){
 	        	char a = array[j].charAt(i);
 	        	if (a =='a' || a =='e'|| a =='i' || a =='o' || a =='u' ){
 	        		contador++;
 	        	}
 	        
 	        }}
 	        System.out.println("El numero de vocals totals es: "+contador);
        
        
        
        
}}



